package com.dhcc.sdc.base.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.core.framework.base.mapper.BaseMapper;
import com.dhcc.sdc.base.entity.ContraindicationEntity;
import com.dhcc.sdc.base.entity.ContraindicationQcentity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 病种禁忌症关联
 *
 */
public interface ContraindicationQcentityMapper extends BaseMapper<ContraindicationQcentity> {

    List<ContraindicationQcentity> list(@Param("map") Map<String, Object> map);
    List<ContraindicationQcentity> page(@Param("page")Page<ContraindicationQcentity> page, @Param("map") Map<String, Object> map);
    int insertContraindicationQcentity( List<Map<String,Long>> list);

    List<Long> getEntityId(Long contraindicationId);

    List<Long> getContraindicationId(Long entityId);

}
